package org.wsocket.thread;

/**
 * @author Jeffyd
 */
public interface ThreadTask extends Runnable {

	static final int NOT_STARTED = 0;

	static final int FAILED = 1;

	static final int SUCCESSFUL = 2;

	void setStatus(int status);

	int getStatus();

}
